Ext.define('HRMobile.view.employeeDetails.SupervisorsForm', {
    extend: 'Ext.form.Panel',
    controllers: ['EmployeeController'],
    config: {
    	 border: true,
    	 style: 'border-left-style: solid;',
    		 items:{
    			 xtype: 'fieldset',
    			 height: '100%',
    			 docked: 'top',
    			 title: 'Supervisors',
    			 items: [{
    				 xclass: 'HRMobile.view.employeeDetails.SupervisorsList',
    			}]
    			
    			 
    		 }
    }
});
Ext.define('HRMobile.view.employeeDetails.SupervisorsList', {
    extend: 'Ext.dataview.List',
    config: {
    	height: '100%',
    	itemTpl: 
    		'<div style="font-size:15px"><b>{empLastname} {empMiddleName} {empFirstname}</b></div>'+
    	     '<div style="font-size:15px">{reportingMethod}</div>',
    	store: 'SupervisorStore',
    	}
});